// 根据用户类型获取相应的ID
export default function getUserId(userType) {
    if (userType === 'teacher') return localStorage.getItem('teacherId');
    if (userType === 'admin') return localStorage.getItem('adminId');
    if (userType === 'student') return localStorage.getItem('userId');
    return null;
}